// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
//引入VueRouter
import VueRouter from 'vue-router'
//引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入axios
import axios from 'axios'

import VueCookies from 'vue-cookies'
//引入ViewUI
// import ViewUI from 'view-design';
// import 'view-design/dist/styles/iview.css';
//引入jquery
import $ from 'jquery'

// import 'bootstrap'
// import 'bootstrap/dist/css/bootstrap.min.css'
// import 'bootstrap/dist/js/bootstrap.min'

Vue.config.productionTip = false
//应用路由插件
Vue.use(VueRouter);
//应用element-ui插件
Vue.use(ElementUI);
//应用ViewUi组件
// Vue.use(ViewUI);

Vue.use(VueCookies)


axios.defaults.withCredentials = true


/* eslint-disable no-new */
new Vue({
  el: '#app',
  VueRouter,
  template: '<App/>',
  render:h=> h(App)

})
